package com.damage.common.service;

import com.damage.common.entity.*;
import com.github.pagehelper.PageInfo;
import com.sun.istack.internal.Nullable;

import java.util.List;

public interface IPublicService {

    Supplier findSupplierById(Integer supplierId);

    List<SupplyGood> findSupplyGoodBySupplierId(Integer supplierId);

    SupplyGood findSupplyGoodById(Integer supplyGoodId);

    PurchasePlan findPurchasePlanById(Integer purchasePlanId);

    List<PurchasePlanDetail> findDetailByPurchasePlanId(Integer purchasePlanId);

    Order findOrderById(Integer orderId);

    List<OrderDetail> findDetailByOrderId(Integer orderId);

    PurchaseInvoice findPurchaseInvoiceById(Integer purchaseInvoiceId);

    List<Order> findOrderByState(Integer state);
}
